package com.gtq.uhome.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

import java.sql.Timestamp;

/**
 * @author ylhy
 * @Describe 用于订单列表的相关字段
 * @create 2020-08-08 15:44
 */
@Data
@ApiModel
@EqualsAndHashCode()
public class OrderBasicInformation {
    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "站点名字")
    private String siteName;

    @ApiModelProperty(value = "收件人id")
    private Integer consigneeId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "收货人名字")
    private String consigneeName;


    @ApiModelProperty(value = "签收详情")
    private String signIn;

    @ApiModelProperty(value = "站点派单时间  站点指定给牌送员的时间,作为剩余送货时间的主要参考")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp deliveryTime;

    @ApiModelProperty(value = "派送员取货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp pickTime;


    @ApiModelProperty(value = "剩余送货时间  站点排送时间 - 常量")
    private String lastSendTime;

    @ApiModelProperty(value = "签收时间,和完成时间一致")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp finishTime;

}
